home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Windows Lottery / Pro One: Multimedia Windows Lottery.iso / PROGFILE.SFS / CUSTOM.RUL < prev    next >
Text File  |  1997-02-17  |  11KB  |  271 lines

  1. /*----------------------------------------------------------------------------*\
  2.  *  Custom.RUL
  3.  *  Sofsource Installation Package:  Program-Specific Declarations.
  4.  *  Copyright (c) 1995-1996 Sofsource, Inc.  All rights  reserved.
  5.  *  Setup script written by:  Bob Falk
  6.  *------------------------------------------------------------------------------
  7.  *  Program-specific declarations for:  Lottomatic
  8.  *                    Last updated on:  02/17/97
  9.  *  Revision Info:
  10.  *    $Revision:   1.0  $
  11.  *    $Date:   17 Feb 1997 00:13:14  $
  12. \*----------------------------------------------------------------------------*/
  13.  
  14. //=================================================================================================
  15. // The following are used in the Windows 95 Registry:
  16. //
  17. // Windows 3.x and NT NOTES:
  18. //   COMPANY_NAME, PRODUCT_NAME, and PRODUCT_VERSION are used in the [Application] section
  19. //   of SETUP.LOG files (when used).
  20. //
  21. // Windows 95 NOTES:
  22. //   COMPANY_NAME           = Used in Application Information Key
  23. //   PRODUCT_NAME           = Used in Application Information Key, also used in the screen caption,
  24. //                            several message boxes, error messages, and the log file.
  25. //   PRODUCT_VERSION        = Used in Application Information Key
  26. //   APP_PATHS_KEY_EXENAMES = Used in the Per Application Paths key.  Use ONLY ONE EXE name, UNLESS
  27. //                            the EXEs are all in the same subdirectory.  If not in the same subdir
  28. //                            then only the first EXE will have an App Paths key, and it must be the
  29. //                            same as EXE_FILENAME_1 (below).
  30. //                            The Registry can handle more, but InstallShield cannot.
  31. //   DEINSTALL_KEY          = Used in the Application Uninstallation Key
  32. //   The "Add/Remove Programs" applet, in the Windows 95 Control Panel folder, will list
  33. //   (as [DisplayName]) the program as a combination of PRODUCT_NAME + ' v' + PRODUCT_VERSION.
  34. //
  35. #define COMPANY_NAME           "Sofsource, Inc."
  36. #define PRODUCT_NAME           "Lottomatic"
  37. #define PRODUCT_VERSION        "1.10"
  38. #define APP_PATHS_KEY_EXENAMES "LM.EXE"
  39. #define DEINSTALL_KEY          "Sof103843Ver110DeinstKey"
  40.   // Used as:  InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, APP_PATHS_KEY_EXENAMES );
  41.   //           RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME + ' v' + PRODUCT_VERSION );
  42.   //           DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
  43.  
  44. // The EXTRAICONS_APP_NAME is used for icons related to the main program, such as for READ.ME files.
  45. // The icon title might be something like "WC Encyclopedia Read Me" rather than the ridiculously
  46. // long "Webster's Concise Encyclopedia Read Me".  If the PRODUCT_NAME is less than about 18 characters
  47. // in length, then EXTRAICONS_APP_NAME should be the same as PRODUCT_NAME.  In Windows 95, any title
  48. // longer than 17 characters will appear with ellipses (...).
  49. //                      !!! |-----------------| 17 chars max length !!!
  50. //#define EXTRAICONS_APP_NAME "???"
  51. #define EXTRAICONS_APP_NAME PRODUCT_NAME
  52.  
  53. //----- Base (Default) Destination Paths:
  54. #define APPBASE_PATH3X      "SOFSRC\\LOTTOMAT\\"
  55. #define APPBASE_PATH95      "Sofsource\\Lottomatic\\"
  56.  
  57.  
  58. //----- Define the items that MUST match LAUNCHER.PAS:
  59. //        Windows 95.  This will typically be "C:\Sofsource" and will always be on the same
  60. //        drive as Windows 95 itself, regardless of the installation target (destination).
  61. // This also must match the cSectionName in LAUNCHER.PAS.
  62. // This should be 70-characters max.  If longer, you'll need to edit the Perm Setup Log details.
  63. #define PROGRAM_FOLDER_NAME     "Sofsource"
  64. //#define PROGRAM_FOLDER_NAME     "Premier"
  65. #define APP_UPC_CODE        "10384-3"
  66.   // APP_UPC_CODE 30-chars max.  If longer, you'll need to edit the Perm Setup Log details.
  67. #define PRODUCT_ID_FILENAME "ID103843.ID_"
  68.  
  69.  
  70. //=================================================================================================
  71. #define NUM_EXES_PRESENT 1
  72.   // Set the above to the number of executable files
  73.   // belonging to the product, FOR WHICH ICONS WILL BE MADE
  74.   // *** Use "-1" when WINHELP.EXE should execute a HLP file INSTEAD OF AN EXE ***
  75.   // *** Use "-1" when there is no executable, only a help file ***
  76.  
  77. #define NEEDS_HELPFILE_ICON 1
  78.   // Define the above if WINHELP.EXE should execute a HLP file
  79.   // IN ADDITION TO the normal EXE file handling (above).
  80.   // Use this when there is both an executable(s) AND a HLP file.
  81.  
  82.  
  83. //=================================================================================================
  84. // Documentation/READ-ME file definitions:
  85.  
  86. // Define the following if a README file is present
  87. #define DOCUMENTATION_PRESENT 1
  88. #ifdef DOCUMENTATION_PRESENT
  89.     #define DOC_FILE_NAME "LM.TXT"
  90.     #define DOC_ICON_NAME '"Lottomatic Read Me"'
  91. #endif
  92.   // NOTE:  For Icon Names, single-quotes enclose the double-quotes.  This doesn't matter
  93.   //        under Windows 95, but is important under Windows 3.x and NT.  In the latter cases,
  94.   //        without the extra single quotes, you could not use special characters (such as
  95.   //        commas or parentheses) in the name.  Of course, now you'll need to use an
  96.   //        Escape Sequence to place a single quote in the name (i.e. "\'" instead of "'").
  97.  
  98. //=================================================================================================
  99. // Executable and Icon File Definitions:
  100.  
  101. #ifdef NUM_EXES_PRESENT >= 1
  102. // In Windows 95 only the first 17 chars appear, remaining chars are replaced with ellipses (...)
  103. //                        !!! |-----------------| 17 chars max length
  104.     #define PROGICON_NAME_1 '"Lottomatic"'
  105.     #define EXE_FILENAME_1  "LM.EXE"
  106.     #define ICON_FILENAME_1 "LM.EXE"
  107. #endif
  108. #ifdef NUM_EXES_PRESENT >= 2
  109.     #define PROGICON_NAME_2 '""'
  110.     #define EXE_FILENAME_2  ""
  111.     #define ICON_FILENAME_2 ""
  112. #endif
  113. #ifdef NUM_EXES_PRESENT >= 3
  114.     #define PROGICON_NAME_3 '""'
  115.     #define EXE_FILENAME_3  ""
  116.     #define ICON_FILENAME_3 ""
  117. #endif
  118. #ifdef NUM_EXES_PRESENT >= 4
  119.     #define PROGICON_NAME_4 '""'
  120.     #define EXE_FILENAME_4  ""
  121.     #define ICON_FILENAME_4 ""
  122. #endif
  123. #ifdef NUM_EXES_PRESENT = -1
  124.     #define HELP_NAME_1 '"???"'
  125.     #define HLP_FILE_1  "???.HLP"
  126. #endif
  127. #ifdef NEEDS_HELPFILE_ICON
  128.     #define HELP_NAME_1 '"Lottomatic Help"'
  129.     #define HLP_FILE_1  "LM.HLP"
  130. #endif
  131.  
  132.  
  133. //=================================================================================================
  134. // Special Case Involving Running From CD-ROM
  135.  
  136. //#define CDROM_ALWAYS_REQUIRED 1
  137.   // Define the above if the CD-ROM must always be inserted to use the program
  138.  
  139.  
  140. //#define EXE_RUN_FROM_CDROM 1
  141.   // Define the above if the EXE is started from the CD-ROM
  142.  
  143. #ifdef EXE_RUN_FROM_CDROM
  144.     #ifdef NUM_EXES_PRESENT >= 1
  145.         #define SRC_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  146.     #endif
  147.     #ifdef NUM_EXES_PRESENT >= 2
  148.         #define SRC_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  149.     #endif
  150.     #ifdef NUM_EXES_PRESENT >= 3
  151.         #define SRC_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  152.     #endif
  153.     #ifdef NUM_EXES_PRESENT >= 4
  154.         #define SRC_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  155.     #endif
  156. #endif
  157.  
  158.  
  159. //#define WORKING_DIR_ON_CDROM 1
  160.   // Define the above if the working directory should be on the CD-ROM
  161.   // otherwise the working directory will be the installation target directory
  162.  
  163. #ifdef WORKING_DIR_ON_CDROM
  164.     #ifdef NUM_EXES_PRESENT >= 1
  165.         #define WORK_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  166.     #endif
  167.     #ifdef NUM_EXES_PRESENT >= 2
  168.         #define WORK_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  169.     #endif
  170.     #ifdef NUM_EXES_PRESENT >= 3
  171.         #define WORK_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  172.     #endif
  173.     #ifdef NUM_EXES_PRESENT >= 4
  174.         #define WORK_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  175.     #endif
  176. #endif
  177.  
  178.  
  179. //=================================================================================================
  180. //----- SPECIAL-CASE Definitions:
  181.  
  182. //#define REQUIRES_INI_FILE_ENTRIES 1
  183.   // Define the above if special INI file entries need to be made
  184.  
  185. //#define REQUIRES_FONT_ENTRY_IN_WININI 1
  186.   // Define the above if this is an old program which will not find it's fonts
  187.   // unless they are duplicated in WIN.INI under Windows 95 and Windows NT.
  188.   // Such fonts will still be properly installed in the registry.
  189.  
  190. // The special-case is on the CD-ROM version only, not the diskette version:
  191. #ifdef EXE_RUN_FROM_CDROM
  192.     //#define SPECIAL_CASE_TERM_PAPER 1
  193.       // Define the above if this is Term Paper (CD-ROM Full or Brain-Damaged Version)
  194.       // Also define REQUIRES_INI_FILE_ENTRIES
  195.  
  196.     //#define SPECIAL_CASE_BOOK_REPORT 1
  197.       // Define the above if this is Book Report (CD-ROM Full or Brain-Damaged Version)
  198.       // Also define REQUIRES_INI_FILE_ENTRIES
  199. #endif
  200.  
  201. //#define SPECIAL_CASE_RESUME 1
  202.   // Define the above if this is Windows Resume
  203.   // Also define REQUIRES_INI_FILE_ENTRIES
  204.  
  205. //#define SPECIAL_CASE_MM_TRIVIA 1
  206.   // Define the above if this is Multimedia Trivia
  207.  
  208. //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
  209.   // Define the above if this is Windows Made Easy
  210.  
  211. //#define SPECIAL_CASE_TYPING_TEACHER 1
  212.   // Define the above if this is Multimedia Typing Teacher
  213.  
  214. //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
  215.   // Define the above if this is Easy Tutorial for Windows 95
  216.  
  217. //#define SPECIAL_CASE_OFFICE_SUITE 1
  218.   // Define the above if this is Office Suite
  219.  
  220. //#define SPECIAL_CASE_3DIT
  221.   // Define the above if this is 3D-It
  222.   // Also define REQUIRES_INI_FILE_ENTRIES
  223.  
  224. //#define SPECIAL_CASE_WEBSTERS_HME95 1
  225.   // Define the above if this is Webster's Concise Encyclopedia 1995 edition
  226.   // Also define REQUIRES_INI_FILE_ENTRIES
  227.  
  228.  
  229. //=================================================================================================
  230. // Requirements definitions:
  231.  
  232.   //----- VIDEO FOR WINDOWS:
  233.   //
  234. //#define REQUIRES_VFW 1
  235.   // Define the above if Video For Windows is required
  236.  
  237.  
  238.   //----- Speaker Driver
  239.   //
  240. //#define REQUIRES_SPEAKER_DRIVER 1
  241.   // Define the above if the speaker driver should be installed
  242.  
  243.  
  244.   //----- Processor requirements (overridden by VFW):
  245. #ifdef REQUIRES_VFW
  246.     #define REQUIRES_80386 1
  247. #else
  248.       //--- CPU REQUIREMENTS:
  249.       //
  250.     #define REQUIRES_80286   1
  251.     //#define REQUIRES_80386   1
  252.     //#define REQUIRES_80486   1
  253.     //#define REQUIRES_PENTIUM 1
  254. #endif
  255.  
  256.  
  257. //#define REQUIRES_WINDOWS95      1
  258.   // Define the above if Windows 95 is required.
  259.   // If Windows 95 is required, then define the following if
  260.   // the program will also run under Windows NT and/or Win32s.
  261.   // APP_IS_32BIT should be defined for 32-bit programs (this
  262.   // is intended for future use).
  263.  
  264. #ifdef REQUIRES_WINDOWS95
  265.     #define OK_WINDOWSNT 1
  266.     //#define OK_WIN32S    1
  267.     //#define APP_IS_32BIT 1
  268. #endif
  269.  
  270. // eof CUSTOM.RUL
  271.